package com.sitia.jd.controller;

import com.sitia.common.core.controller.BaseController;
import com.sitia.jd.domain.vo.JdLoginInfoVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 业务测试类
 */
@Slf4j
@RestController
@RequestMapping("/jdTest")
public class BusinessTestController extends BaseController {

    @GetMapping(value = "/test")
    public void test(JdLoginInfoVo vo) throws Exception {
       /* GetResult getResult = JdUtils.getRebateUrl("https://item.m.jd.com/product/100066896370.html?gx=RnAolCMdLHDEh8lR5Q&gxd=RnAox2RdOTLayswT-4AmVMyiilryrDE&ad_od=share&utm_source=androidapp&utm_medium=appshare&utm_campaign=t_335139774&utm_term=CopyURL",
                null,
                "6e944b54208d854c8fa67a901b209fff", "9dcd5a0ed0f24f4abe653f4c2293a039").getGetResult();
        System.out.println(getResult);
*/
    }

}
